package JavaSEAdvance.day01_extends.d016_homework02;

/**
 * @author Xiao
 * @date 2021/7/15
 */
public class Test {
    public static void main(String[] args) {
        Teacher t = new Teacher("czbk001","阿良","男",24);
        Player p = new Player("ithm001","平安","男",18,"368班");
        System.out.println(t.toString());
        t.eat();
        System.out.println("--------");
        System.out.println(p.toString());
        p.eat();
    }
}
